﻿using Practice.PH4_2104A.Shopping.SevenLayerFramework.Domin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Practice.PH4_2104A.IRepository
{
    public interface ISPURepository
    {
        /// <summary>
        /// 添加spu
        /// </summary>
        /// <param name="model"></param>
        void Insert(SPUModel model);

        /// <summary>
        /// 查询spu
        /// </summary>
        /// <returns></returns>
        IQueryable<SPUModel> GetAll();
    }
}
